package org.scs.carleton.ca.pgdt.core.parser.internal.factory;

import org.scs.carleton.ca.pgdt.core.internal.parser.ASTExpression;
import org.scs.carleton.ca.pgdt.core.internal.parser.ASTNode;
import org.scs.carleton.ca.pgdt.core.internal.parser.ASTTranslationUnit;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTNodeTypes;

public class ExpressionFactory {
	private ExpressionFactory() {
		
	}
	
	public static ASTExpression createExpression(ASTTranslationUnit translationUnit, ASTNode lhs, String operator, ASTNode rhs) {
		return new ASTExpression(translationUnit, IASTNodeTypes.EXPRESSION, lhs, operator, rhs);
	}
}
